package com.atguigu.interview.base.singleton;

/**
 * @author Jungle
 * @create 2022-09-06 10:13
 */
public class Test {
    public static void main(String[] args) {
        for (int i = 1; i <= 20; i++) {
            new Thread(() -> {
                System.out.println(Lazy2.getInstance() == Lazy2.getInstance());
            }, String.valueOf(i)).start();
        }

    }
}
